home *** CD-ROM | disk | FTP | other *** search
- ; *******************************************************
- ; Example 1 - Create a word window, open a document,
- ; then set the title, subject, and author properties.
- ; *******************************************************
- ;
- #include <Word.au3>
- $oWordApp = _WordCreate (@ScriptDir & "\Test.doc")
- $oDoc = _WordDocGetCollection ($oWordApp, 0)
- _WordDocPropertySet ($oDoc, "Title", "Test Title")
- _WordDocPropertySet ($oDoc, "Subject", "Test Subject")
- _WordDocPropertySet ($oDoc, "Author", "Test Author")